package io.babystar.modules.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author jeson
 * @email 574197743@qq.com
 * @date 2021-03-23 20:03:33
 */
@Data
@TableName("sign")
public class SignEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 
	 */
	private Integer businessId;
	/**
	 * 课程ID
	 */
	private Integer courseId;

	@TableField(exist=false)
	private String courseName;

	/**
	 * 学生ID
	 */
	private Integer studentId;

	@TableField(exist=false)
	private String studentName;

	/**
	 * 打卡老师
	 */
	private Integer teacherId;
	/**
	 * 打卡老师
	 */
	private String teacherName;
	/**
	 * 打卡时间
	 */
	private Date signTime;
	/**
	 * 剩余节数
	 */
	private String surplus;
	/**
	 * 学生课时表  student_course_date.id
	 */
	private Integer courseTimeId;
	/**
	 * 课时描述
	 */
	private String courseTimeDesc;
	/**
	 * 1学生预约 2教练签到 3后台签到
	 */
	private String source;
	/**
	 *助教老师id
	 */
	private Integer zjTeacherId;
	/**
	 * 助教签到时间
	 */
	private Date zjSignTime;
	/**
	 *助教老师
	 */
	@TableField(exist = false)
	private String zjTeacherName;

}
